<!-- eslint-disable vue/multi-word-component-names -->
<template>
  <div v-quill="options" class="quill-editor"></div>
</template>
 
<script setup>
import { ref, onMounted } from 'vue';
import Quill from 'quill';
import 'quill/dist/quill.snow.css';
 

 
    const options = ref({});
    const quill = ref(null);
 
    onMounted(() => {
      quill.value = new Quill('.quill-editor', {
        theme: 'snow',
        ...options.value,
      });
    });
 
 

</script>
 
<style>
.quill-editor {
  height: 500px;
}
</style>